package com.zmj.sy.mom.srv.aps.bean.vo.workshop;

import com.zmj.sy.mom.srv.aps.bean.vo.base.BasePageReqVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

@Getter
@Setter
public class WorkshopPlateToPartReqVo extends BasePageReqVo {

    @ApiModelProperty("工作组 ID")
    private Integer id;

    @ApiModelProperty("工序状态,1未开始 2生产中 3生产完成, 默认未完成的（未开始、生产中）1,2")
    private List<Integer> status;

    @ApiModelProperty("开始时间，默认近7天")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty("完成时间，默认未来7天")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @ApiModelProperty("物料编码")
    private String materCode;

    @ApiModelProperty("物料名称")
    private String materName;

    @ApiModelProperty("工作组编号")
    private String groupCode;

    @ApiModelProperty("套料图号 切割编号")
    private String nestId;

    @ApiModelProperty("领料单编号")
    private String pickingListNo;

    @ApiModelProperty("规格（mm）")
    private String spec;

}
